package com.example.springboot01.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("course")
public class Course {

    @TableId(type = IdType.AUTO)
    private Integer id;

    // 课程名称
    private String name;

    // 课时
    private Integer number;

    // 授课教师
    private Integer teacherId;

}
